tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Mon, 19 Aug 2024 19:59:45 +0000 (21:59 +0200)
commitb836688f3d868c54c757b1648cbd1f9606c06a40
treef367e3ee62036db7a03b01622f8a299dcfa6eba1
parent02a64326fe7b4d23dd36c18daa5380a11a2ac403
tools/build: Remove bpf() run-time check at build time

Forwarded: no

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c